<%-- 
  - Author: Sergey Manoylo
  - Date: 10-Mar-2012
  - Copyright Notice: TRAKHEES
  - Description: SummaryTab.jsp
--%>

 <%@ include file="/WEB-INF/view/include.jsp"%>

		<!-- Summary -->
        <div id="Summary">
            <fieldset>
			 	<legend><spring:message code="ctn.noc.emp.det.label" /></legend>
			</fieldset>
		    <div class="t_form-top">
				<div class="t_select_employee">
					<label for="sumemployeeId" ><spring:message code="message.employee.id" /></label>
					<input type="text"  id="sumemployeeId" disabled="disabled" />
				</div>
			</div>
			
			<div class="t_form-left">
				<label for="sumemployeeNameEng"><spring:message code="ctn.employee.name" /></label>
				<input type="text" id="sumemployeeNameEng" name="employeeNameEng" disabled="disabled" />
		
				<label for="sumemployeeNationality"><spring:message code="ctn.employee.nationality" /></label>
				<input type="text" id="sumemployeeNationality" name="employeeNationality" disabled="disabled" />
			</div>
			
			<div class="t_form-right">
	
				<label for="sumemployeeNameArab"><spring:message code="ctn.employee.name.ar" /></label>
				<input type="text" id="sumemployeeNameArab" name="employeeNameArab" disabled="disabled" />
		
				<label for="sumemployeeCecNumber"><spring:message code="ctn.employee.cec.no" /></label>
				<input type="text" id="sumemployeeCecNumber" name="employeeCecNumber" disabled="disabled" />
			</div>
			
			<fieldset>
				<legend><spring:message code="ctn.noc.subm.label" /></legend>
			</fieldset>
			
			<div class="t_form-left">
				<label for="sumtextFormat"><spring:message code="ctn.noc.text.format" /></label>
				<input type="text" id="sumtextFormat" name="textFormat" disabled="disabled" />

				<label for="sumnocAndLetters"><spring:message code="ctn.noc.noc.sc.let" /></label>
				<input type="text" id="sumnocAndLetters" name="nocAndLetters" disabled="disabled" />
				
				<label for="sumto"><spring:message code="ctn.noc.to" /></label>
				<input type="text" id="sumto" disabled="disabled" />
				
				<label for="sumlocation"><spring:message code="ctn.noc.location" /></label>
				<input type="text" id="sumlocation" disabled="disabled" />

				<label for="sumsignature"><spring:message code="ctn.noc.sign" /></label>
				<input type="text" id="sumsignature" name="signature" disabled="disabled" />
			</div>
			
			<div class="t_form-right">
				<div style="display: none" class="changableField countryCont">
					<div><label for="sumcountry"><spring:message code="ctn.noc.country" /></label></div>
		            <div><input type="text" id="sumcountry" disabled="disabled" /></div>
				</div>
				
				<div style="display: none" class="changableField periodCont">
					<div><label for="sumperiod"><spring:message code="ctn.noc.period" /></label></div>
		            <div><input type="text" id="sumperiod" disabled="disabled" /></div>
				</div>
				
				<div style="display: none" class="changableField lostTextCont">
					<div><label for="sumlostText"><spring:message code="ctn.noc.losttext" /></label></div>
		            <div><input type="text" id="sumlostText" disabled="disabled" /></div>
				</div>
				
				<div style="display: none" class="changableField plateNoCont">
					<div><label for="sumplateNoCont"><spring:message code="ctn.noc.plateno" /></label></div>
		            <div><input type="text" id="sumplateNo" disabled="disabled" /></div>
				</div>
				<div style="display: none" class="changableField carOwnerCont">
					<div><label for="sumcarOwner"><spring:message code="ctn.noc.carowner" /></label></div>
		            <div><input type="text" id="sumcarOwner" disabled="disabled" /></div>
				</div>
				<div style="display: none" class="changableField carTypeCont">
					<div><label for="sumcarType"><spring:message code="ctn.noc.cartype" /></label></div>
		            <div><input type="text" id="sumcarType" disabled="disabled" /></div>
				</div>
				<div style="display: none" class="changableField carColorCont">
					<div><label for="sumcarColor"><spring:message code="ctn.noc.carcolour" /></label></div>
		            <div><input type="text" id="sumcarColor" disabled="disabled" /></div>
				</div>
				<div style="display: none" class="changableField machineNoCont">
					<div><label for="summachineNo"><spring:message code="ctn.noc.machineno" /></label></div>
		            <div><input type="text" id="summachineNo" disabled="disabled" /></div>
				</div>
				<div style="display: none" class="changableField shasyNoCont">
					<div><label for="sumshasyNo"><spring:message code="ctn.noc.shohyno" /></label></div>
		            <div><input type="text" id="sumshasyNo" disabled="disabled" /></div>
				</div>
				<div style="display: none" class="changableField carModelCont">
					<div><label for="sumcarModel"><spring:message code="ctn.noc.carmodel" /></label></div>
		            <div><input type="text" id="sumcarModel" disabled="disabled" /></div>
				</div>
			</div>
			
			<fieldset>
			 	<legend><spring:message code="header.comments" /></legend>
			</fieldset>
           	<div class="t_form_middle">
            	<div>
                	<div><label for="sumadminComments"><spring:message code="label.comments" /></label></div>
                	<div><textarea id="sumadminComments" name="adminComments" class="t_form-fld-disable" onkeyup="textLimit(this,2000);" onblur="textLimit(this,500);" style="width:680px">${adminComments}</textarea></div>
                </div>
           	</div>   			

            <c:if test="${isCompanyAdmin}">
            	<%@include file="/WEB-INF/view/admin/general/payment/FNPInfoTab.jsp" %>
            </c:if>
            
            <div id="fm-submit">
         		<button  class="button_small" id="CloseBtn"  onclick="closeApplication();" type="button" ><spring:message code="button.close" /></button>
           		 <c:if test="${isCompanyAdmin}"><button type="button" class="button_small" onclick="setAction('submit'); if(validatePayment()){subm('fnpServiceCode', 'submitFormDiv');}"><spring:message code="button.submit" /></button></c:if>
           		 <c:if test="${!isCompanyAdmin}"><button  class="button_small" id="SubmitBtn" type="submit" ><spring:message code="button.submit" /></button></c:if>
           		 <c:if test="${isResubmit}"><button  class="button_small" onclick="cancelForm('');" type="button" ><spring:message code="button.cancel" /></button></c:if>
				<button  class="button_small" id="Summary-Previous"><spring:message code="button.previous" /></button>
            </div>

		</div>
